package com.ruitu.mall_98_2.mvp.contract;

import com.beanu.arad.base.BaseModel;
import com.beanu.arad.base.BasePresenter;
import com.beanu.arad.base.BaseView;
import com.ruitu.router_module.bean.api.BaseResult;
import com.ruitu.router_module.bean.order.SmallOrder;

import java.util.List;

import rx.Observable;

public interface MyGroupBookingContract {
    interface Model extends BaseModel {
        Observable<BaseResult<List<SmallOrder>>> myCollage(String accountId);
    }

    interface View extends BaseView {
        void setData(List<SmallOrder> collages);

        void setFail();
    }

    abstract class Presenter extends BasePresenter<View, Model> {
        public abstract void myCollage(String accountId);
    }
}
